package com.weixin.vo;
/**
 * 商品类
 * @author 唐鑫明
 *
 */

import java.util.Date;

public class Goods {
	private int goods_id;//商品ID
	private String goods_name;//商品名
	private double goods_price;//商品价格
	private int goods_count;//库存
	private int state_id;//状态ID(上架/下架)
	private String state_name;//状态名
	private Date goods_time;//最后修改时间
	private int type_id;//消费类型ID
	private String type_name;//消费类型
	private int package_id;//套餐ID
	private String goods_desc;//商品描述
	private String goods_img;//商品图片
	private int gtype_id;//商品类型ID
	private String gtype_name;//商品类型名
	/**
	 * 构造方法
	 */
	public Goods() {
	}
	public int getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(int goods_id) {
		this.goods_id = goods_id;
	}
	public String getGoods_name() {
		return goods_name;
	}
	public void setGoods_name(String goods_name) {
		this.goods_name = goods_name;
	}
	public double getGoods_price() {
		return goods_price;
	}
	public void setGoods_price(double goods_price) {
		this.goods_price = goods_price;
	}
	public int getGoods_count() {
		return goods_count;
	}
	public void setGoods_count(int goods_count) {
		this.goods_count = goods_count;
	}
	public int getState_id() {
		return state_id;
	}
	public void setState_id(int state_id) {
		this.state_id = state_id;
	}
	public String getState_name() {
		return state_name;
	}
	public void setState_name(String state_name) {
		this.state_name = state_name;
	}
	public Date getGoods_time() {
		return goods_time;
	}
	public void setGoods_time(Date goods_time) {
		this.goods_time = goods_time;
	}
	public int getType_id() {
		return type_id;
	}
	public void setType_id(int type_id) {
		this.type_id = type_id;
	}
	public String getType_name() {
		return type_name;
	}
	public void setType_name(String type_name) {
		this.type_name = type_name;
	}
	public int getPackage_id() {
		return package_id;
	}
	public void setPackage_id(int package_id) {
		this.package_id = package_id;
	}
	public String getGoods_desc() {
		return goods_desc;
	}
	public void setGoods_desc(String goods_desc) {
		this.goods_desc = goods_desc;
	}
	public String getGoods_img() {
		return goods_img;
	}
	public void setGoods_img(String goods_img) {
		this.goods_img = goods_img;
	}
	public int getGtype_id() {
		return gtype_id;
	}
	public void setGtype_id(int gtype_id) {
		this.gtype_id = gtype_id;
	}
	public String getGtype_name() {
		return gtype_name;
	}
	public void setGtype_name(String gtype_name) {
		this.gtype_name = gtype_name;
	}
	@Override
	public String toString() {
		return "Goods [goods_id=" + goods_id + ", goods_name=" + goods_name + ", goods_price=" + goods_price
				+ ", goods_count=" + goods_count + ", state_id=" + state_id + ", state_name=" + state_name
				+ ", goods_time=" + goods_time + ", type_id=" + type_id + ", type_name=" + type_name + ", package_id="
				+ package_id + ", goods_desc=" + goods_desc + ", goods_img=" + goods_img + ", gtype_id=" + gtype_id
				+ ", gtype_name=" + gtype_name + "]";
	}
	
}
